<?php
/*
 * 商家的信息操作类
 * @package    Db
 * @author     Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: e70a4316a628e37ad329e93c7b51e8df91a5d6f9 $
 */
defined('IN_IXDCW') or exit('Access Denied');
final class BusinessDataDb extends CoreDb{

	public function __construct(){
		parent::__construct();
	}

	public function getByItemid($itemid) {
		$sql = "
			SELECT *
			FROM {$this->tableName()}
			WHERE itemid={$itemid}";
		return $this->_db->getOne($sql);
	}
}